package com.ohos.connect.devicecloud.app.modular.user.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;


@Getter
@Setter
public class AppUserEmailDTO {

    /** 账号 */
    @ApiModelProperty(value = "账号", required = true, position = 2)
    @NotBlank(message = "account不能为空")
    private String account;

    /** 邮箱 */
    @ApiModelProperty(value = "邮箱", position = 24)
    @NotBlank(message = "邮箱不能为空")
    private String email;

    /** 验证码 */
    @ApiModelProperty(value = "验证码", required = true, position = 2)
    @NotBlank(message = "验证码不能为空")
    private String validCode;

    /** 验证码请求号 */
    @ApiModelProperty(value = "验证码请求号", required = true, position = 3)
    @NotBlank(message = "验证码请求号不能为空")
    private String validCodeReqNo;

}
